﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using OOS.Application.Dish.Dtos;
using OOS.Core.Dish;

namespace OOS.Application.Dish.Services.Interfaces
{
    /// <summary>
    /// 菜品口味管理
    /// </summary>
    public interface IDishFlavorService
    {
        /// <summary>
        /// 新增菜品口味
        /// </summary>
        /// <param name="dishFlavor"></param>
        /// <param name="dishId"></param>
        /// <returns></returns>
        bool InsertDishFlavor(DishFlavor dishFlavor,int dishId);

        /// <summary>
        /// 根据DishId查询菜品口味列表
        /// </summary>
        /// <param name="dishId"></param>
        /// <returns></returns>
        List<DishFlavor> SelectFlavorListByDishId(int dishId);

        /// <summary>
        /// 根据DishId删除对应口味列表
        /// </summary>
        /// <param name="dishId"></param>
        /// <returns></returns>
        bool DeleteFlavorListByDishId(int dishId);
    }
}
